﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>云南省道路桥梁施工协会后台管理</title>
	<link href="assets/css/bootstrap.css" rel="stylesheet" />
	<link href="assets/css/font-awesome.css" rel="stylesheet" />
	<link href="assets/js/morris/morris-0.4.3.min.css" rel="stylesheet" />
	<link href="assets/css/custom-styles.css" rel="stylesheet" />
	<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
</head>

<body>
	<div id="wrapper">
		<nav class="navbar navbar-default top-navbar" role="navigation">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse"
					data-target=".sidebar-collapse">
					<span class="sr-only"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span> <span class="icon-bar"></span>
				</button>
				<!-- <a class="navbar-brand" href="main.html"><i class="fa fa-company"></i> <strong style="font-size:16px;">云南省道路桥梁协会后台管理系统</strong></a> -->
				<img alt="" src="image\tlog.png" style="width:260px;height:70px;">
			</div>

			<ul class="nav navbar-top-links navbar-right">
				<li class="dropdown"><font class="dropdown-toggle"
					data-toggle="dropdown" href="javascript:void(0);"
					style="font-size:20px;color:white;"> <i class="fa fa-user">
					</i>&nbsp;欢迎您：<strong id="admin_login_name">管理员</strong>
				</font></li>
				<li class="dropdown"><a class="dropdown-toggle"
					data-toggle="dropdown" href="#" aria-expanded="false"
					id="admin_out" style="font-size:20px;color:white;"
					onclick="admin_out();"> 退出 </a></li>
				<li class="dropdown"><a class="dropdown-toggle"
					data-toggle="dropdown" href="#" aria-expanded="false"> </a></li>
			</ul>
		</nav>
		<!--/. NAV TOP  -->
		<nav class="navbar-default navbar-side" role="navigation">
			<!-- <div id="sideNav" href="">
				<i class="fa fa-caret-right"></i>
			</div> -->
			<div class="sidebar-collapse" id="navdiv">
				<ul class="nav" id="main-menu">
					<li><a class="active-menu" target="main_iframe" href="home.html"><i
							class="fa fa-home fa-lg"></i>&nbsp;首页</a></li>
					<li><a href="#"><i class="fa fa-sitemap fa-lg"></i> 
						用户管理
						<span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">
							<li><a href="view/role.html" target="main_iframe" onclick="changeBack('roleli')" id="roleli"><i class="fa fa-qrcode"></i>角色管理</a></li>
							<li><a href="view/user.html" target="main_iframe" onclick="changeBack('userli')" id="userli"><i class="fa fa-qrcode"></i>用户列表</a></li>
							<li><a href="view/enterprise.html" target="main_iframe" onclick="changeBack('enterli')" id="enterli"><i class="fa fa-qrcode"></i>企业列表</a></li>
						</ul></li>
					<!-- <li><a href="#"><i class="fa fa-desktop fa-lg"></i> 
						栏目管理
						<span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">
							<li><a href="view/menu.html" target="main_iframe" onclick="changeBack('menuli')" id="menuli"><i class="fa fa-qrcode"></i>栏目列表</a></li>
						</ul></li> -->
					<li><a href="#"><i class="fa fa-edit fa-lg"></i> 
						文章管理
						<span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">
							<li><a href="view/menu.html" target="main_iframe" onclick="changeBack('menuli')" id="menuli"><i class="fa fa-qrcode"></i>栏目列表</a></li>
							<li><a href="view/article.html" target="main_iframe" onclick="changeBack('articleli')" id="articleli"><i class="fa fa-qrcode"></i>文章列表</a></li>
						</ul></li>
					<li><a href="#"><i class="fa fa-qrcode fa-lg"></i> 
						系统管理
						<span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">
							<!-- <li><a href="#" target="main_iframe" onclick="changeBack('xhli')" id="xhli"><i class="fa fa-qrcode"></i>协会简介</a></li> -->
							<li><a href="#" target="main_iframe" onclick="changeBack('logoli')" id="logoli"><i class="fa fa-qrcode"></i>日志管理</a></li>
						</ul></li>
					<li><a href="#"><i class="fa fa-bar-chart-o fa-lg"></i>
						个人设置
						<span class="fa arrow"></span></a>
						<ul class="nav nav-second-level">
							<li><a href="#" target="main_iframe" onclick="changeBack('pwdli')" id="pwdli"><i class="fa fa-qrcode"></i>密码修改</a></li>
						</ul></li>
				</ul>
			</div>
		</nav>
		<!-- /. NAV SIDE  -->
		<iframe src="home.html" style="width:86.4%;height:865px;border:0px solid blue;margin: 70px 0 0px 260px ;" name="main_iframe"></iframe>
	</div>
	<script src="assets/js/jquery-1.10.2.js"></script>
	<script src="assets/js/bootstrap.min.js"></script>
	<script src="assets/js/jquery.metisMenu.js"></script>
	<script src="assets/js/morris/raphael-2.1.0.min.js"></script>
	<script src="assets/js/morris/morris.js"></script>
	<script src="assets/js/easypiechart.js"></script>
	<script src="assets/js/easypiechart-data.js"></script>
	<script src="assets/js/Lightweight-Chart/jquery.chart.js"></script>
	<script src="assets/js/custom-scripts.js"></script>
	<script src="../common/cookie.js"></script>
	<script src="js/main.js"></script>
	<script src="js/include.js"></script>
	<script src="assets/js/jquery.cookie.js"></script>
	
	<script type="text/javascript">
		$("#admin_login_name").text(getAdmCookie().name);
		
		function changeBack(id){
			getAdmCookie();
			$("#navdiv").find("a[class='active-menu']").removeClass("active-menu");
			$("#"+id).addClass("active-menu");
		}
	</script>
</body>

</html>